package com.iee.patterns.example.event_obv.obv_base;

import java.util.EventObject;

/**
 *@ClassName Test1EventListener
 *@Description TODO
 *@Author longxiaonan@163.com
 *@Date 2022/3/23 0023 19:26
 */
public class Test1EventListener extends AbstractEventListener {


    public Test1EventListener(int order) {
        super(order);
    }

    @Override
    public void onEvent(Event event){
        System.out.println("Test1Event");
        EventObject eventObject = event.getEventObject();
        System.out.println(eventObject);
    }
}
